package br.com.news.utils.service.interfaces;

import java.util.List;

import br.com.news.utils.database.beans.CategoriaBean;
import br.com.news.utils.service.exception.ServiceException;

public interface ICategoriaService {
	
	public List<CategoriaBean> findAll() throws ServiceException;
	
	public List<CategoriaBean> findCategoriaAtiva() throws ServiceException;

	List<CategoriaBean> categoriasMaisAcessadas() throws ServiceException;

	List<CategoriaBean> findByExample(CategoriaBean categoria);

	List<CategoriaBean> findCategoriaByStatus(boolean status) throws ServiceException;

	void update(CategoriaBean categoria) throws ServiceException;

	void save(CategoriaBean categoria) throws ServiceException;

}
